package com.sugar.follow.up.module.business.enums;

import com.sugar.follow.up.framework.common.exception.ErrorCode;

/**
 * @author Y.sugar
 * @since 2025/8/19 9:30
 */
public interface ErrorCodeConstants {

    // ========== 公共 1_008_888_000 ==========
    ErrorCode NO_PERMISSION = new ErrorCode(1_008_888_000, "您无权限操作");
    ErrorCode SERVER_BUSY = new ErrorCode(1_008_888_001, "服务器繁忙，请稍后重试");

    // ========== 微信小程序 1_008_888_010 ==========
    ErrorCode WE_CHAT_LOGIN_NOT_RESP = new ErrorCode(1_008_888_010, "请求微信认证无响应");
    ErrorCode WE_CHAT_GET_WECHAT_OPENID_ERROR = new ErrorCode(1_008_888_011, "微信认证失败，请稍后重试");
    ErrorCode WE_CHAT_MOBILE_GET_AUTH_IS_NULL = new ErrorCode(1_008_888_012, "手机号获取凭证为空");
    ErrorCode WE_CHAT_MOBILE_AUTH_ERROR = new ErrorCode(1_008_888_013, "手机号凭证换取失败");

    // ========== 用户信息 1_008_000_000 ==========
    ErrorCode BIZ_USER_NOT_EXISTS = new ErrorCode(1_008_000_000, "用户不存在");
    ErrorCode BIZ_USER_REGISTER_ERROR = new ErrorCode(1_008_000_001, "用户注册失败");
    ErrorCode USER_ACCOUNT_FORBIDDEN = new ErrorCode(1_008_003_002, "账号异常，请联系客服解决");

    // ========== 就诊人 1_008_001_000 ==========
    ErrorCode USER_PATIENT_NOT_EXISTS = new ErrorCode(1_008_001_000, "就诊人不存在");
    ErrorCode USER_PATIENT_TAGS_NONE = new ErrorCode(1_008_001_001, "当前标签下没有就诊人");
    ErrorCode USER_PATIENT_TYEP_NOT_EMPTY = new ErrorCode(1_008_001_002, "类型不能为空");

    // ========== 医生 1_008_002_000 ==========
    ErrorCode DOCTOR_NOT_EXISTS = new ErrorCode(1_008_002_000, "医生不存在");

    // ========== 问卷模板 1_008_003_000 ==========
    ErrorCode QUESTIONNAIRE_TEMPLATE_NOT_EXISTS = new ErrorCode(1_008_003_000, "问卷模板不存在");
    ErrorCode QUESTIONNAIRE_TEMPLATE_QUESTION_NOT_EXISTS = new ErrorCode(1_008_003_050, "问卷模板题目不存在");
    ErrorCode QUESTIONNAIRE_TEMPLATE_QUESTION_IS_EMPTY = new ErrorCode(1_008_003_051, "问卷模板没有题目，无法发起问卷");

    // ========== 随访模板 1_008_004_000 ==========
    ErrorCode FOLLOW_UP_TEMPLATE_NOT_EXISTS = new ErrorCode(1_008_004_000, "随访模板不存在");
    ErrorCode FOLLOW_UP_TEMPLATE_QUESTION_NOT_EXISTS = new ErrorCode(1_008_004_050, "随访模板题目不存在");
    ErrorCode FOLLOW_UP_TEMPLATE_QUESTION_IS_EMPTY = new ErrorCode(1_008_003_051, "随访模板没有题目，无法发起随访");

    // ========== 问卷发起记录 1_008_005_000 ==========
    ErrorCode QUESTIONNAIRE_RECORD_NOT_EXISTS = new ErrorCode(1_008_005_000, "问卷发起记录不存在");
    ErrorCode QUESTIONNAIRE_RECORD_DATE_ERROR = new ErrorCode(1_008_006_001, "结束日期不能在开始日期之前");
    ErrorCode QUESTIONNAIRE_RECORD_NO_SELECT_PATIENT = new ErrorCode(1_008_006_002, "问卷填写人不能为空");
    // ========== 问卷发起答题记录 1_008_005_050 ==========
    ErrorCode QUESTIONNAIRE_QUESTION_RECORD_NOT_EXISTS = new ErrorCode(1_008_005_050, "问卷发起答题记录不存在");

    // ========== 随访发起记录 1_008_006_000 ==========
    ErrorCode FOLLOW_UP_RECORD_NOT_EXISTS = new ErrorCode(1_008_006_000, "随访发起记录不存在");
    ErrorCode FOLLOW_UP_RECORD_DATE_ERROR = new ErrorCode(1_008_006_001, "结束日期不能在开始日期之前");
    ErrorCode FOLLOW_UP_RECORD_NO_SELECT_PATIENT = new ErrorCode(1_008_006_002, "随访人不能为空");
    // ========== 随访发起答题记录 1_008_006_050 ==========
    ErrorCode FOLLOW_UP_QUESTION_RECORD_NOT_EXISTS = new ErrorCode(1_008_006_050, "随访发起答题记录不存在");

    // ========== 术前评估 1_008_007_000 ==========
    ErrorCode PATIENT_SQPG_NOT_EXISTS = new ErrorCode(1_008_007_000, "术前评估不存在");

    // ========== 前列腺Ca激光局灶消融术/冷冻术 1_008_008_000 ==========
    ErrorCode PATIENT_QLXCAJGJZXRSLDS_NOT_EXISTS = new ErrorCode(1_008_008_000, "前列腺Ca激光局灶消融术/冷冻术不存在");

    // ========== 放射治疗 1_008_009_000 ==========
    ErrorCode PATIENT_FSZL_NOT_EXISTS = new ErrorCode(1_008_009_000, "放射治疗不存在");

    // ========== 根治性手术 1_008_010_000 ==========
    ErrorCode PATIENT_GZXSS_NOT_EXISTS = new ErrorCode(1_008_010_000, "根治性手术不存在");

    // ========== 化疗 1_008_011_000 ==========
    ErrorCode PATIENT_HL_NOT_EXISTS = new ErrorCode(1_008_011_000, "化疗不存在");

    // ========== 化学治疗 1_008_012_000 ==========
    ErrorCode PATIENT_HXZL_NOT_EXISTS = new ErrorCode(1_008_012_000, "化学治疗不存在");

    // ========== 内分泌治疗 1_008_013_000 ==========
    ErrorCode PATIENT_NFMZL_NOT_EXISTS = new ErrorCode(1_008_013_000, "内分泌治疗不存在");

    // ========== 标签 1_008_017_000 ==========
    ErrorCode TAG_NOT_EXISTS = new ErrorCode(1_008_017_000, "标签不存在");

    // ==================== 宣教管理 1_008_018_000 ====================
    // ========== 宣教分类 1_008_018_000 ==========
    ErrorCode PUBLICITY_EDUCATION_CLS_NOT_EXISTS = new ErrorCode(1_008_018_000, "宣教分类不存在");
    // ========== 宣教信息 1_008_018_050 ==========
    ErrorCode PUBLICITY_EDUCATION_NOT_EXISTS = new ErrorCode(1_008_018_050, "宣教信息不存在");

    // ========== 意见反馈 1_008_019_000 ==========
    ErrorCode FEEDBACK_NOT_EXISTS = new ErrorCode(1_008_019_000, "意见反馈不存在");

    // ========== 参数配置 1_008_020_000 ==========
    ErrorCode BIZ_CONFIG_NOT_EXISTS = new ErrorCode(1_008_020_000, "参数配置不存在");
}
